﻿using DAL;
using Model;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace BLL
{

    public class FangHao_BLL
    {
       public FangHao_BLL(FangHao_DAL dal)
        {
            Dal = dal;
        }

        public FangHao_DAL Dal { get; }

        /// <summary>
        /// 房号添加
        /// </summary>
        /// <param name="m"></param>
        /// <returns></returns>
        public int FangHaoAdd(FangHao_Model m)
        {
            return Dal.FangHaoAdd(m);
        }
        /// <summary>
        /// 房号列表
        /// </summary>
        /// <returns></returns>
        public List<FangHao_Model> FangHaoShow()
        {
            return Dal.FangHaoShow();
        }
    }
}
